
<template > 
    <div class="box"> 
        <div class="audition">
            <iframe id="iframeBox" class="iframe" src="" frameborder="0"></iframe>
        </div>
    </div>
</template>
<script>
import pagePublic from "@/mixins/pagePublic.js";
import { mapMutations, mapState } from "vuex";
    export default {
        name: "tem",
        mixins: [pagePublic],
        data(){
            return{
                
                // urls:{
                //     list: {
                //         url:this.$api.tem.list,
                //         method:"get",
                //         sync:false,
                //     },
                //     add:this.$api.tem.add,
                //     edit:this.$api.tem.edit,
                //     del:this.$api.tem.del
                // },

                
            }
        },
        computed: {
            ...mapState(['configInfo']),

        },
        created() {
            
        },
        mounted() {
            let iframeBox = document.getElementById('iframeBox');
            iframeBox.src = this.$route.query.src?this.$route.query.src:'http://new.zhongchenjiaoyu.com/school/login';
        },
        methods:{
            ...mapMutations(['set_configInfo'])
        }
    }
</script>
<style lang="scss" scoped>
.audition{
    min-width: 100%;
    min-height: 100vh;
    .iframe{
        width: 100%;
        height: calc(100vh);
    }
}
</style>